using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CommonLibrary;
using CommonLibrary.Data;
using CommonLibrary.Data.NetOracle;

namespace Demo
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void FormMain_Load(object sender, EventArgs e)
        {
            //string s = "2013-09-01".ClToDateTime().AddDays(1).ClToStringDate();


            //string cnstr = "Data Source=DEV;User ID=MPUB;Password=mpub123";
            //NetOraclePublicDAL.Log(cnstr, "1", "2", "3", "4", "5", false, "test");

            string cnstr = "Data Source=DEV_UC;User ID=mg_app;Password=mg_app";
            int out_Rows = 0;
            int out_Pages = 0;
            DataTable dt = ClNetOracle.GetPageData(cnstr, "select * from APP_TYPE order by show_id", 2, 3, out out_Rows, out out_Pages);

        }
    }
}
